package net.zjitc.demo1.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
public class ResultData<T>{

        private Long total;
        private List<T> users;

    public ResultData(Long total, List<T> users) {
        this.total = total;
        this.users = users;
    }
}
